﻿using System;
using System.Windows.Forms;
using Business;
using GogTasks.Properties;

namespace GogTasks
{
    public partial class LicenseForm : Form
    {
        public LicenseForm()
        {
            InitializeComponent();
            LicenseTextBox.Text = Resources.license.Replace("[AppName]", Context.AppName);
            Text = Text.Replace("[AppName]", Context.AppName);

        }

        private void CancelButton_Click(object sender, EventArgs e)
        {
            DialogResult = DialogResult.Cancel;
            Close();
        }

        private void AcceptButton_Click(object sender, EventArgs e)
        {
            DialogResult = DialogResult.OK;
            Close();
        }

    }
}